

	<div class="index-cloud-nav" id="indexNav">
			<div class="index-cloud-bg"></div>
			<ul>
				<?php
				 $count = 0;
				 foreach($index_data as $ModuleID => $modelData){
				 	$count++;
			    ?>
				<li>
					<?php echo $count; ?>F
					<span><?php echo $modelData['Title'] ?></span>
				</li>
				<?php } ?>
				<li style="text-align: center;border: none;"><a href="javascript:void(0)">返回顶部</a></li>
			</ul>
	</div>
<div id="indexNavR" style="left: 1557px; opacity: 1;">
		<ul>
<!-- 			<li>
				<a href="" class="nav-r-1"></a>
			</li>
			<li>
				<a href="" class="nav-r-2"></a>
			</li>
			<li>
				<a href="" class="nav-r-3"></a>
			</li>
			<li>
				<a href="" class="nav-r-4"></a>
			</li>
			<li>
				<a href="" class="nav-r-5"></a>
			</li> -->
		</ul>
	</div>


	<!-- 导航详情内容及图片模块 -->
	<div class="index-nav-content clearfix">
		<div class="index-nav-l">
			<?php foreach($signMenu as $rss){  ?>
				<dl>
					<dt><a target="_blank" href="<?php echo $this->createUrl('/front/index/goods', array('cid' => $rss['CatID']))  ?>"><?php  echo $rss['Title'] ?></a></dt>
					<dd>
						<?php  if(isset($rss['data'])){  ?>
						<?php foreach($rss['data'] as $rs){  ?>
							<a target="_blank" href="<?php echo $this->createUrl('/front/index/goods', array('cid' => $rs['CatID']))  ?>"><?php  echo $rs['Title'] ?></a>
						<?php  }} ?>
					</dd>
				</dl>
			<?php  } ?>
		</div>
		<div class="index-nav-r clearfix">
			<div class="index-nav-r1 clearfix">
				<div class="index-nav-r1-t">
					<a href="<?php echo $ad[0]['Url']; ?>"><img src="<?php  echo ConfigModel::model()->getConfig('sitefileurl') . $ad[0]['Image']; ?>" alt="<?php echo $ad[0]['Title']; ?>"></a>	
				</div>
				<div class="index-nav-r1-b clearfix">
					<?php foreach($ad[1] as $AdvertisingID => $arrD){ ?>
						<a target="_blank" href="<?php echo $arrD['Url']  ?>"><img src="<?php  echo ConfigModel::model()->getConfig('sitefileurl') . $arrD['Image']; ?>" alt="<?php echo $arrD['Title']; ?>"></a>						
					<?php } ?>
				</div>
			</div>
			<div class="index-nav-r2">
					<?php foreach($ad[2] as $AdvertisingID => $arrD){ ?>
						<a target="_blank" href="<?php echo $arrD['Url']  ?>"><img src="<?php  echo ConfigModel::model()->getConfig('sitefileurl') . $arrD['Image']; ?>" alt="<?php echo $arrD['Title']; ?>"></a>						
					<?php } ?>
			</div>
		</div>
	</div>

	<!-- 中部花纹背景 -->
	<div class="index-icon-bg">
		<div>
			<img src="<?php  echo yii::app()->theme->baseUrl ?>/assets/images/index_logo_img.png" alt="妈咪街">
			
		</div>
	</div>


	<!-- 以下是美丽心得开始的模块 -->
	<div class="index-wrapper" id="indexWrapper">
		<!-- 左侧导航模块 -->
		<div class="index-box">
			<div class="index-box-ad">
				<!-- 左侧图片轮播模块 -->
				<div class="index-box-ad-l">
					<div class="index-box-ad-content">
						<?php
						  $box_count = 0;
						 foreach($carousel['data'] as $GoodsID => $arrData){
						 	
						 	if($box_count%3 == 0){
						 		echo '<ul>';
						 	}

						?>

							<li>
								<div><a  target="_blank" href="<?php echo $this->createUrl('/front/goods/detail', array('gid' => $arrData['GoodsID'])) ?>"><?php echo mb_substr($arrData['GoodsName'], 0, 12, 'utf-8');  ?></a></div>
								<dl>
									<dt><a  target="_blank" href="<?php echo $this->createUrl('/front/goods/detail', array('gid' => $arrData['GoodsID'])) ?>"><img src="<?php echo $arrData['Image'];  ?>" alt="<?php echo $arrData['GoodsName'];  ?>"></a></dt>
									<dd>
										<a  target="_blank" href="<?php echo $this->createUrl('/front/goods/detail', array('gid' => $arrData['GoodsID'])) ?>"><span>￥</span>
											<strong><?php echo $arrData['PromoPrice'];  ?></strong></a>
									</dd>
								</dl>
							</li>

						
						<?php

						 	if($box_count%3 == 2){
						 		echo '</ul>';
						 	}
						 	$box_count++;						
						  } 
						?>
						
					</div>
				</div>
				<div id="arrowLeft"></div>
				<div id="arrowRight"></div>
				
				<!-- 右侧图片详情模块 -->
				<div class="index-box-ad-r">
					<a href="" target="_blank" class="index-bar">
						<div class="index-ad-arrow"></div>
						<p>More</p>
					</a>
					<div class="index-box-ad-z">
						<a href=""><img src="<?php  echo yii::app()->theme->baseUrl ?>/assets/images/index3.jpg" alt=""></a>
					</div>
					<div class="index-box-ad-y">
						<div class="index-box-y">
							<dl class="clearfix">
								<dt><a href><img src="<?php  echo yii::app()->theme->baseUrl ?>/assets/images/index1.jpg" alt=""></a></dt>
								<dd>
									<h3><a href=""><?php echo $article[0]['Title']  ?></a></h3>
									<p><a href=""><?php echo strip_tags(mb_substr($article[0]['Contnet'],0,50,'utf-8'));  ?>......</a></p>
								</dd>
							</dl>
							<dl class="clearfix">
								<dt><a href=""><img src="<?php  echo yii::app()->theme->baseUrl ?>/assets/images/index2.jpg" alt=""></a></dt>
								<dd>
									<h3><a href=""><?php echo $article[1]['Title']  ?></a></h3>
									<p><a href=""><?php echo strip_tags(mb_substr($article[1]['Contnet'],0,50,'utf-8'));  ?>......</a></p>
								</dd>
							</dl>
						</div>
					</div>
				</div>
			</div>
		</div>

		<!-- 美丽心得模块 -->
		<!-- 楼层模块 -->
		<div class="index-floor">
			<?php 
			$count = 0;
			foreach($index_data as $ModuleID => $arrModuleData){ 
				$count++;
			 ?>
			 <div class="index-floor1" id="floor<?php echo $count; ?>">
				<div class="index-floor1-tit clearfix">
					<h2><?php echo $count ?>F <?php echo $arrModuleData['Title'] ?></h2>
					<span><?php echo $arrModuleData['Brief'] ?></span>
					<strong></strong>
					<a href="<?php echo $this->createUrl('/front/index/goods', array('mid' => $ModuleID)) ?>" title="">更多</a>
				</div>
				<div class="index-floor1-content">
					<ul class="clearfix index-floor1-hover">
						<?php  
						$level_count = 0;
						foreach($arrModuleData['category'] as $title){
							$level_count++;
						?>

							<li id="hover<?php echo $level_count; ?>"><?php echo $title; ?></li>


						<?php  } ?>



						<?php  
						$level_count = 0;
						foreach($arrModuleData['category'] as $title){
							$level_count++;
						?>
							<a href="" id="floor1-hover<?php echo $level_count; ?>"><?php echo $title; ?></a>
						<?php  } ?>
					</ul>
					<div class="index-floor1-info">

						<?php  
						$level_count = 0;
						foreach($arrModuleData['data'] as $TagID => $arrTagData){
							$level_count++;
						?>


							<?php  if($level_count == 1){   ?>

								<div class="floorone-price clearfix">

							<?php  }else{  ?>

								<div class="floorone-price index-floor1-hidden clearfix">
							<?php  } ?>

								<!-- 正式展示商品 -->
								<?php  if(!empty($arrTagData['data']['data'])){  ?>

									<?php $count_goods_detail = 0; foreach($arrTagData['data']['data'] as $GoodsID => $arrGodsData){ $count_goods_detail++; ?>
										<dl class="<?php  if($count_goods_detail%4 == 0){echo 'floorone-con';} ?>" >
											<dt><a target="_blank" href="<?php echo $this->createUrl('/front/goods/detail', array('gid' => $GoodsID)) ?>" title=""><img src="<?php  echo $arrGodsData['Image']  ?>" alt="<?php  echo $arrGodsData['GoodsName']  ?>"></a></dt>
											<dd>
												<div>
													<span>￥</span>
													<strong><?php  echo $arrGodsData['PromoPrice']  ?></strong>
													<em>￥<?php  echo $arrGodsData['Pprice']  ?></em>
													<b><?php  echo $arrGodsData['Sales']  ?>人已买</b>
												</div>
												<p><?php  echo $arrGodsData['GoodsName']  ?></p>
												<div class="floor1-icon clearfix">
													<?php if(!empty($arrGodsData['IsFreeShipping'])){echo '<div>包邮</div>';}  ?>
													<div class="index-floorone-changeP">拍下改价</div>
													<img src="<?php  echo yii::app()->theme->baseUrl ?>/assets/images/ceshi/mao.png" alt="">
												</div>
											</dd>
										</dl>										

									<?php  } ?>

								<?php }  ?>




								</div>
						<?php  } ?>

					</div>
				</div>



			 </div>
			<?php  } ?>
		</div>



	</div>	


		<script src="<?php echo yii::app()->theme->baseUrl;  ?>/assets/js/mamijie.js"></script>
	